package cn.cqie.attendance.teacher.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wqh
 * @date 2021/7/6 12:30
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "TeacherHomeworkRes对象", description = "查询作业作业响应参数")
@Alias("TeacherHomeworkRes")
public class TeacherHomeworkRes implements Serializable {

    private static final long serialVersionUID = 1L;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "作业发布时间")
    private Date publishTime;

    @ApiModelProperty(value = "项目名称")
    private String courseName;

    @ApiModelProperty(value = "作业主题")
    private String homeworkTheme;

    @ApiModelProperty(value = "实训老师")
    private String trainTeacherName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "计划完成时间")
    private String endTime;

    @ApiModelProperty(value = "小组")
    private String groupName;

    @ApiModelProperty(value = "作业类型")
    private Integer homeworkType;

    @ApiModelProperty(value = "学生总数")
    private Integer studentSum;

    @ApiModelProperty(value = "待提交")
    private Integer uncommittedSum;

    @ApiModelProperty(value = "待批复")
    private Integer unApprovalSum;

    @ApiModelProperty(value = "已批复")
    private Integer approvalSum;
}
